package mrusanov.money

class ClubBudget {
  private var _money = BigDecimal(0)

  def money = _money

  private var moneyChangeReasons:List[MoneyChangeReason] = List()

  def acceptMoneyChangeReason(reason:MoneyChangeReason) {
    moneyChangeReasons ::= reason
    _money += reason.money
  }

}
